package com.quanyan.stadium.service;

import com.quanyan.common.Plugin.PageObj;
import com.quanyan.stadium.api.resp.RespMyGameEvent;
import com.quanyan.stadium.entity.vo.GameSchedule;
import com.quanyan.stadium.entity.vo.NearbyUser;
import com.quanyan.stadium.entity.vo.UserCenter;
import com.quanyan.stadium.entity.vo.UserGameRecord;

import java.util.List;

/**
 * Created by Administrator on 2016/7/13.
 */
public interface UserCenterService {

    /**
     * 查询用户赛程支持分页
     *
     * @param uid
     * @param status
     */
    List<GameSchedule> queryUserGameEventByUidAndStatus(Integer uid, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 查询用户赛程
     *
     * @param uid
     * @param status
     * @return
     */
    List<GameSchedule> queryUserGameEventByUidAndStatus(Integer uid, Integer status);

    /**
     * 查询用户比赛（包含官方赛与PK赛）
     * 根据用户id与比赛状态
     *
     * @param uid
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    List<UserGameRecord> queryUserGameRecord(Integer uid, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 获取用户信息
     *
     * @param uid
     * @param categoryId
     * @return
     */
    UserCenter queryUserInfo(Integer uid, Integer categoryId);

    /**
     *
     * @return
     */
    PageObj queryNearbyUser(Integer uid, NearbyUser nearbyUser);

    /**
     * 我的比赛列表（2016.11.15新需求 ）
     */
    PageObj<List<RespMyGameEvent>> getMyGameEventList(Integer uid,Integer pageNum,Integer pageSize);

}
